package com.qqtech.qquan.pub.service;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.core.frame.service.BaseServiceImpl;

import com.qqtech.qquan.pub.dao.PubSysParamDao;
import com.qqtech.qquan.pub.model.*;

@Service
public class PubSysParamServiceImpl extends BaseServiceImpl<PubSysParam>
		implements PubSysParamService {
	public static final Logger log = LoggerFactory.getLogger(PubSysParamServiceImpl.class);
	
	@Resource
	private PubSysParamDao pubSysParamDao;

	@Override
	protected BaseDao<PubSysParam> getBaseDao() {
		return pubSysParamDao;
	}
	
	@Override
	public PubSysParam getByKey(java.lang.String key) {
		return pubSysParamDao.getByKey(key);
	}	
}